﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MINERP.Monitor
{
    public partial class UCDeliverGoods : UserControl
    {
        public UCDeliverGoods()
        {
            InitializeComponent();
        }

        public int TechId { get; set; }
        [Bindable(true), Category("TechName"), DefaultValue(""), Description("岗位名称")]
        public string TechName
        {
            set { groupControl1.Text = value; }
            get { return groupControl1.Text; }
        }

        public void BindData(string NoDeliverNum, string DeliverNum)
        {
            lbDeliverNum.Text = DeliverNum;
            lbNoDeliverNum.Text = NoDeliverNum;

        }

        private void lkbDeliverGoods_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            FrmMain frm = (FrmMain)this.FindForm();
            frm.clikEventHander.Invoke(sender, e);
        }

    }
}
